The Script Template Window

Script can be entered against any of an element’s events, but the Message and Valid properties can only be set in the OnValidate event. To place script against an event, select the element, then the script button. The Script Template window will open with the element name selected in the top left, and the possible events underneath Then select which event you would like to place the script in, this will highlight it in blue. You can change the element selected by hovering over the element path separated by ‘/’ to enter additional script against any other element or events.